package com.sansui.compiler;
import com.sansui.MultiProxy.MoveAble;
public class TankTimeProxy implements MoveAble{
	public TankTimeProxy(MoveAble tank) {
		super();
		this.tank = tank;
	}
	private MoveAble tank;
	public void move() { 
		long start = System.currentTimeMillis();
		tank.move();
		long end = System.currentTimeMillis();
		System.out.println("time:"+ (end - start));
	}
}